# MyDjango2/urls.py
from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('', include(('myapp.urls', 'myapp'), namespace='myapp'))

    # 指向内置Admin后台系统的路由文件sites.py
    # path("admin/", admin.site.urls),
    # 指向myapp的路由文件urls.py
    # path("", include(('myapp.urls', 'myapp'), namespace='myapp')),
    # path("",include('myapp.urls'),namespace='myapp')
]